<template>
    <div class="drawer-content-item">
        <el-form ref="form" label-position="top" :model="form" label-width="0">
            <div class="flex-between-center content-padding">
                <el-row class="flex-1">
                    <el-col :span="24">
                        <el-form-item label="">
                            <div class="fw-b font-s-20">
                            {{ form.orderNo }} -{{ form.orderUserName }}
                            </div>
                        </el-form-item>
                    </el-col>
                    <el-col :span="5">
                        <div>
                            <i class="userinfo-icon el-icon-mobile-phone"></i>
                            <span>{{ form.phone || "-" }}</span>
                        </div>
                    </el-col>
                    <el-col :span="7">
                        <div>
                            <i class="userinfo-icon el-icon-postcard"></i>
                            <span>{{ form.userId || "-" }}</span>
                        </div>
                    </el-col>
                </el-row>
            </div>
        </el-form>
        <!-- 具体调用的内容，用了什么文字，什么声音，生成的结果展示 -->
        <el-tabs v-model="detailCurrent" type="card" >
            <el-tab-pane label="基本信息" name="1">
                <el-form label-position="top" >
                    <div class="item-title-box">订单信息</div>
                    <el-row :gutter="20" class="form-detail-top-box">
                        <!-- <el-col :span="3">
                            <el-form-item label="订单用户头像" >
                                <imagePreview :url="form.orderUserAvatar" />
                            </el-form-item>
                        </el-col> -->
                        <el-col :span="6">
                            <el-form-item label="订单用户姓名">
                                {{form.orderUserName ||'-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="订单标题">
                                {{form.orderTitle ||'-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="调用ai服务类型">
                                {{selectDictLabel(dict.type.ai_type,form.useAiType ) ||'-'}}
                            </el-form-item>
                        </el-col> 
                        <el-col :span="6">
                            <el-form-item label="订单类型">
                                {{selectDictLabel(dict.type.order_type,form.orderType ) ||'-'}}
                            </el-form-item>
                        </el-col> 
                        <el-col :span="6">
                            <el-form-item label="订单状态">
                                <el-tag
                                    v-if="form.orderStatus"
                                    :type="
                                    [3].includes(form.orderStatus)
                                        ? 'success'
                                        : [0].includes(form.orderStatus)
                                        ? 'info'
                                        : [2].includes(form.orderStatus)
                                        ? 'danger'
                                        : [1].includes(form.orderStatus)
                                        ? 'warning':''
                                    "
                                    >
                                    {{
                                    selectDictLabel(
                                        dict.type.order_status,
                                        form.orderStatus
                                    ) || "未知状态"
                                    }}
                                    </el-tag
                                >
                            </el-form-item>
                        </el-col>
                        <!-- <el-col :span="6" v-if="form.orderStatus == 2">
                            <el-form-item label="订单失败原因">
                                {{ form.orderFailReason || '-' }}
                            </el-form-item>
                        </el-col> -->
                        <!-- <el-col :span="6" v-if="form.orderType != 1">
                            <el-form-item label="变化算力">
                               <span v-if="form.pointChangeType == 1">+{{ form.changePoint || '-' }}</span>
                               <span v-if="form.pointChangeType == 2">-{{ form.changePoint || '-' }}</span> 

                            </el-form-item>
                        </el-col> -->
                        <el-col :span="6" v-if="form.orderType != 1">
                            <el-form-item label="消耗算力">
                                {{ form.consumePoint || '-' }}
                            </el-form-item>
                        </el-col>
                        <!-- <el-col :span="6" v-if="form.orderType != 1">
                            <el-form-item label="当前算力">
                                {{ form.currentPoint || '-' }}
                            </el-form-item>
                        </el-col> -->
                    </el-row>
                    <template v-if="form.orderType == 1">
                        <div class="item-title-box">充值信息</div>
                        <el-row :gutter="20" class="form-detail-top-box">
                            <el-col :span="6">
                                <el-form-item label="本次充值算力">
                                    {{ form.rechargePoint || '-' }}
                                </el-form-item>
                            </el-col>
                            <el-col :span="6">
                                <el-form-item label="本次充值金额">
                                    {{ form.rechargeAmount || '-' }}元
                                </el-form-item>
                            </el-col>
                            <el-col :span="6">
                                <el-form-item label="充值类型">
                                    {{selectDictLabel(dict.type.recharge_type,form.rechargeType ) ||'-'}}
                                </el-form-item>
                            </el-col>
                            <el-col :span="6">
                                <el-form-item label="充值状态">
                                    <el-tag
                                        v-if="form.rechargeStatus"
                                        :type="
                                        [2].includes(form.rechargeStatus)
                                            ? 'success'
                                        
                                            : [1].includes(form.rechargeStatus)
                                            ? 'danger'
                                            : [0].includes(form.rechargeStatus)
                                            ? 'warning':''
                                        "
                                        >
                                        {{
                                        selectDictLabel(
                                            dict.type.recharge_status,
                                            form.rechargeStatus
                                        ) || "未知状态"
                                        }}
                                        </el-tag
                                    >
                                </el-form-item>
                            </el-col>
                        </el-row>
                    </template>
                    <div class="item-title-box" v-if="form.orderType != 1">调用明细</div>
                    <el-row :gutter="20" class="form-detail-top-box"  v-if="form.useAiType == 2">
                        <el-col :span="6">
                            <el-form-item label="任务名称" >
                                {{  videoDetailForm.name || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="成片数量" >
                                {{  videoDetailForm.outPutNums || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="任务开始时间" >
                                {{  videoDetailForm.createTime || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="任务结束时间" >
                                {{ videoDetailForm.endTime ||'-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="背景音量大小" >
                                {{selectDictLabelTwo(dict.type.volume_size,videoDetailForm.bgmVolume) ||'-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="是否开启视频字幕" >
                                {{ videoDetailForm.isEnableSubtitle == 0 ? '否' : '是' }}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="是否视频原声" >
                                {{ videoDetailForm.isOriginalAudio == 0 ? '否' : '是' }}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="字幕大小" >
                                {{selectDictLabel(dict.type.subtitle_size,videoDetailForm.subtitleSize) ||'-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="任务状态" >
                                <el-tag
                                    v-if="videoDetailForm.taskStatus"
                                    :type="
                                    [2].includes(videoDetailForm.taskStatus)
                                        ? 'success'
                                        : [0].includes(videoDetailForm.taskStatus)
                                        ? 'info'
                                        : [3].includes(videoDetailForm.taskStatus)
                                        ? 'danger'
                                        : [1].includes(videoDetailForm.taskStatus)
                                        ? 'warning':''
                                    "
                                    >
                                    {{
                                    selectDictLabel(
                                        dict.type.task_status,
                                        videoDetailForm.taskStatus
                                    ) || "未知状态"
                                    }}
                                    </el-tag
                                >
                            </el-form-item>
                        </el-col>
                        <el-col :span="6" v-if="videoDetailForm.taskStatus == 3">
                            <el-form-item label="失败原因" >
                                {{  videoDetailForm.taskFailReason || '-'}}
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row :gutter="20" class="form-detail-top-box"  v-if="form.useAiType == 1">
                        <el-col :span="12">
                            <el-form-item label="任务名称" >
                                {{  aiPersonForm.taskName || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="12">
                            <el-form-item label="任务时间" >
                                {{  aiPersonForm.createTime || '-'}}-{{ aiPersonForm.endTime  }}
                            </el-form-item>
                        </el-col>
                        
                        <el-col :span="6" v-if="aiPersonForm.taskStatus == 3">
                            <el-form-item label="失败原因" >
                                {{  aiPersonForm.failReason || '-'}}
                            </el-form-item>
                        </el-col>
                        
                        <el-col :span="6">
                            <el-form-item label="任务类型" >
                               <span v-if="aiPersonForm.taskType == 1">数字人克隆</span>
                               <span v-if="aiPersonForm.taskType == 2">音色克隆</span>
                            </el-form-item>
                        </el-col>
                       
                       
                        
                        <el-col :span="6">
                            <el-form-item label="音频类型" >
                                <span v-if=" aiPersonForm.audioType == 1">文案克隆 </span>
                               <span v-if=" aiPersonForm.audioType == 2">自我上传</span>
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="任务消耗算力" >
                                {{  aiPersonForm.taskConsumePoint || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="音频时长" >
                                {{  aiPersonForm.audioDuration || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="供应商视频克隆视频时长" >
                                {{  aiPersonForm.supplierVideoCloneDuration || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="供应商音频克隆消耗点数" >
                                {{  aiPersonForm.supplierAudioCloneCount || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="供应商视频克隆消耗点数" >
                                {{  aiPersonForm.supplierVideoCloneCount || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="任务状态 " >
                              <el-tag v-if="aiPersonForm.taskStatus == 1">合成中</el-tag>
                              <el-tag type="success" v-if="aiPersonForm.taskStatus == 2">合成成功 </el-tag>
                              <el-tag type="danger" v-if="aiPersonForm.taskStatus == 3">合成失败</el-tag>
                            </el-form-item>
                        </el-col>
                        
                        <el-col :span="24">
                            <el-form-item label="录音文件地址" >
                                <div class="flex-align-center" v-if=" aiPersonForm.audioFileUrl">
                                    <audio ref="audio" :src=" aiPersonForm.audioFileUrl "  controls ></audio>

                                    <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="aiPersonForm.audioFileUrl" v-clipboard:success="clipboardSuccess" class="mar-l-10">复制链接</el-button>

                                </div>
                                <span v-else>-</span>
                            </el-form-item>
                        </el-col>
                        <el-col :span="24">
                            <el-form-item label="音频文本内容" >
                                <div class="response-desc" >{{  aiPersonForm.audioText|| '-' }}</div>
                                <div class="copy-btn">
                                    <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="aiPersonForm.audioText" v-clipboard:success="clipboardSuccess" v-if="aiPersonForm.audioText">复制文案</el-button>
                                </div>
                            </el-form-item>
                        </el-col> 
                        <el-col :span="24">
                            <el-form-item label="供应商视频克隆文件地址" >
                                <template v-if="aiPersonForm.supplierVideoCloneFileUrl ">
                                    <videoUpload
                                        size="mini"
                                        v-model="aiPersonForm.supplierVideoCloneFileUrl "
                                        :isShowTip="false"
                                        :limit="0"
                                        
                                    />
                                    <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="aiPersonForm.supplierVideoCloneFileUrl" v-clipboard:success="clipboardSuccess" class="mar-t-10">复制链接</el-button>

                                </template>
                               
                                <span v-else>-</span>
                            </el-form-item>
                        </el-col>                       
                    </el-row>
                    <el-row :gutter="20" class="form-detail-top-box"  v-if="form.useAiType  > 2">
                        <el-col :span="6">
                            <el-form-item label="任务名称" >
                                {{  taskForm.taskName || '-'}}
                            </el-form-item>
                        </el-col>
                        <el-col :span="6">
                            <el-form-item label="任务消耗算力" >
                                {{  taskForm.taskConsumePoint || '-'}}
                            </el-form-item>
                        </el-col>
                       
                        <el-col :span="6">
                            <el-form-item label="任务状态" >
                                <el-tag v-if="taskForm.taskStatus == 1">任务进行中</el-tag>
                                <el-tag type="success" v-if="taskForm.taskStatus == 2">任务成功 </el-tag>
                                <el-tag type="danger" v-if="taskForm.taskStatus == 3">任务失败</el-tag>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12">
                            <el-form-item label="任务时间" >
                                {{  taskForm.createTime || '-'}}-{{ taskForm.endTime }}
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" v-if="taskForm.taskStatus == 3">
                            <el-form-item label="任务失败原因" >
                                {{  taskForm.taskFailReason || '-'}}
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <template v-if=" form.useAiType !=' 70' && form.useAiType != '71'">
                        <div class="item-title-box" v-if="form.useAiType  > 2">请求参数</div>
                        <el-row :gutter="20" class="form-detail-top-box" v-if="form.useAiType  > 2">
                            <el-col :span="24">
                                <el-form-item label="" v-if="taskForm.taskRequest" >
                                    <div v-if=" taskForm.aiType == 12 || taskForm.aiType == 13  "  >
                                        {{ JSON.parse(taskForm.taskRequest).input }}
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskRequest).input" v-clipboard:success="clipboardSuccess"  class="mar-l-10">复制链接</el-button>
                                    </div>
                                    <div v-if=" taskForm.aiType == 17">
                                        <videoUpload
                                            size="mini"
                                            v-model="JSON.parse(taskForm.taskRequest).input"
                                            :isShowTip="false"
                                            :limit="0"
                                            v-if="taskForm.taskRequest"
                                        />
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskRequest).input" v-clipboard:success="clipboardSuccess"  class="mar-t-10">复制链接</el-button>                                    
                                    </div>
                                    <div v-if="taskForm.aiType == 16 ">
                                        <!-- <span v-if="taskForm.taskRequest">{{ JSON.parse(taskForm.taskRequest).input }}</span>
                                        <span v-else>-</span> -->
                                        <div class="response-desc" >{{  JSON.parse(taskForm.taskRequest).input || '-' }}</div>
                                        <div class="copy-btn">
                                            <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskRequest).input" v-clipboard:success="clipboardSuccess" v-if="taskForm.taskResponse">复制文案</el-button>
                                        </div>
                                    </div>
                                    <div v-if="taskForm.aiType == 14">
                                        {{  JSON.parse(taskForm.taskRequest).input || '-' }}
                                    </div>
                                    <div v-if="taskForm.aiType == 18">
                                        <imagePreview :url="JSON.parse(taskForm.taskRequest).input" />
                                        <el-button  type="primary" @click="downLoadImage(JSON.parse(taskForm.taskRequest).input)" size="mini" plain   class="mar-t-10">图片下载</el-button>                                    

                                    </div>
                                    <div v-if="taskForm.aiType == 19">
                                        <div style="display: flex;align-items: center;">
                                            <audio ref="audio" :src="JSON.parse(taskForm.taskRequest).input"  controls></audio>
                                            <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskRequest).input" v-clipboard:success="clipboardSuccess" class="mar-l-10">复制链接</el-button>     
                                        </div>
                                        
                                    </div>
                                    <div v-if="taskForm.aiType == 9">
                                        <el-col :span="6">
                                            <el-form-item label="主体信息">
                                                {{  JSON.parse(taskForm.taskRequest).subjectBody || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="关键词汇">
                                                {{  JSON.parse(taskForm.taskRequest).keyWords || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="脚本字数">
                                                {{
                                                    selectDictLabel(
                                                        dict.type.script_word_count,
                                                        JSON.parse(taskForm.taskRequest).wordCount
                                                    ) || "未知状态"
                                            }}
                                            </el-form-item>
                                        </el-col>
                                        
                                    </div>
                                    <div v-if="taskForm.aiType == 3">
                                        
                                        <el-col :span="6">
                                            <el-form-item label="文案语气">
                                                {{JSON.parse(taskForm.taskRequest).articleStyle || '-' }}

                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="文案类型">
                                                {{
                                                    selectDictLabel(
                                                        dict.type.copy_writing_type,
                                                        JSON.parse(taskForm.taskRequest).type
                                                    ) || "未知状态"
                                                }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="文案语言">
                                                
                                                {{
                                                    selectDictLabel(
                                                        dict.type.copy_writing_language,
                                                        JSON.parse(taskForm.taskRequest).language
                                                    ) || "未知状态"
                                                }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="文案内容">
                                                {{  JSON.parse(taskForm.taskRequest).input || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 4">
                                        <el-col :span="6">
                                            <el-form-item label="文案语气">
                                                {{JSON.parse(taskForm.taskRequest).articleStyle || '-' }}

                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="品牌名称">
                                                {{  JSON.parse(taskForm.taskRequest).brandName |"-"}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="产品名称">
                                                {{  JSON.parse(taskForm.taskRequest).productName ||'-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="目标用户群体">
                                                {{  JSON.parse(taskForm.taskRequest).user ||'-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="商品特点">
                                                {{  JSON.parse(taskForm.taskRequest).productFeatures || '-' }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 5">
                                        <el-col :span="6">
                                            <el-form-item label="文案语气">
                                                {{JSON.parse(taskForm.taskRequest).articleStyle || '-' }}

                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="品牌名称">
                                                {{  JSON.parse(taskForm.taskRequest).brandName |"-"}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="优惠券名称">
                                                {{  JSON.parse(taskForm.taskRequest).couponName ||'-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="目标用户群体">
                                                {{  JSON.parse(taskForm.taskRequest).user ||'-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="优惠券介绍">
                                                {{  JSON.parse(taskForm.taskRequest).couponIntroduction || '-' }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 6">
                                        <el-col :span="6">
                                            <el-form-item label="文案语气">
                                                {{JSON.parse(taskForm.taskRequest).articleStyle || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="商品特点">
                                                {{  JSON.parse(taskForm.taskRequest).productFeatures ||"-"}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="产品名称">
                                                {{  JSON.parse(taskForm.taskRequest).productName ||'-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="商品信息">
                                                {{  JSON.parse(taskForm.taskRequest).productContent ||'-' }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 7">
                                        <el-col :span="6">
                                            <el-form-item label="产品名称">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).productName || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="商品信息">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).productContent || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 8">
                                        <el-col :span="6">
                                            <el-form-item label="文案类型">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).articleStyle || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="产品名称">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).productName || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 11">
                                        <el-col :span="6">
                                            <el-form-item label="直播主题">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).subjectBody || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="产品名称">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).productName || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="12">
                                            <el-form-item label="商品信息">
                                                {{
                                                    JSON.parse(taskForm.taskRequest).productcontent || '-'
                                                }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 10">
                                        <el-col :span="6">
                                            <el-form-item label="文案语气">
                                                {{JSON.parse(taskForm.taskRequest).articleStyle || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="品牌名称">
                                                {{JSON.parse(taskForm.taskRequest).brandName || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="商品名称">
                                                {{JSON.parse(taskForm.taskRequest).productName || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        
                                        <el-col :span="6">
                                            <el-form-item label="商品特点">
                                                {{JSON.parse(taskForm.taskRequest).productFeatures || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="商品信息">
                                                {{JSON.parse(taskForm.taskRequest).productcontent || '-' }}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 15">
                                        <el-col :span="6">
                                            <el-form-item label="海报文案">
                                                {{JSON.parse(taskForm.taskRequest).input || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="关键词">
                                                {{JSON.parse(taskForm.taskRequest).keywords || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="不要出现内容">
                                                {{JSON.parse(taskForm.taskRequest).notIn || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="画面比例">
                                                {{JSON.parse(taskForm.taskRequest).size || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="图中元素">
                                                {{JSON.parse(taskForm.taskRequest).element || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="场景环境">
                                                {{JSON.parse(taskForm.taskRequest).environment || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="画面色彩">
                                                {{JSON.parse(taskForm.taskRequest).color || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="画面人物">
                                                {{JSON.parse(taskForm.taskRequest).person || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="适用节日">
                                                {{JSON.parse(taskForm.taskRequest).festival || '-' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="二十四节气">
                                                {{JSON.parse(taskForm.taskRequest).cycle || '-' }}
                                            </el-form-item>
                                        </el-col>
                                    
                                    </div>
                                    <div v-if="taskForm.aiType == 20 ">
                                        <el-col :span="6" >
                                            <el-form-item label="风格">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" >
                                            <el-form-item label="是否结算">
                                                {{  JSON.parse(taskForm.taskRequest).isJs ==1 ? '是' : '否'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" >
                                            <el-form-item label="参考背景图片">
                                                <imagePreview :url=" JSON.parse(taskForm.taskRequest).image"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24" >
                                            <el-form-item label="文案内容">
                                                {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        
                                    </div>
                                    <div v-if="taskForm.aiType == 21 || taskForm.aiType == 22">
                                        <el-col :span="6" v-if="taskForm.aiType == 21">
                                            <el-form-item label="节日">
                                                {{  JSON.parse(taskForm.taskRequest).festival || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="海报尺寸 ">
                                                {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="图片风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="是否上传二维码 ">
                                                {{  JSON.parse(taskForm.taskRequest).tokenImage == true ? '是' : '否'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="门店介绍手册">
                                                {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl">
                                            <el-form-item label="二维码图片地址 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl"/>

                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 23">
                                        
                                        <el-col :span="6">
                                            <el-form-item label="海报尺寸">
                                                {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="图片风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="是否上传二维码 ">
                                                {{  JSON.parse(taskForm.taskRequest).tokenImage == true ? '是' : '否'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl">
                                            <el-form-item label="二维码图片地址 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="活动策划手册">
                                                {{  JSON.parse(taskForm.taskRequest).activityArticle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="门店介绍手册">
                                                {{  JSON.parse(taskForm.taskRequest).storeArticle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 24">
                                    
                                        <el-col :span="6">
                                            <el-form-item label="海报尺寸">
                                                {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="图片风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="是否上传二维码 ">
                                                {{  JSON.parse(taskForm.taskRequest).tokenImage == true ? '是' : '否'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl">
                                            <el-form-item label="二维码图片地址 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="朋友圈文案">
                                                {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        
                                    </div>
                                    <div v-if="taskForm.aiType == 25">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="姓名">
                                            {{  JSON.parse(taskForm.taskRequest).name || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="输出方向 ">
                                            {{  JSON.parse(taskForm.taskRequest).scfx || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="语言风格 ">
                                            {{  JSON.parse(taskForm.taskRequest).yyfg || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="专业方向 ">
                                            {{  JSON.parse(taskForm.taskRequest).zyfx || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="职业经历 ">
                                            {{  JSON.parse(taskForm.taskRequest).zyjl || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="背景 ">
                                                {{  JSON.parse(taskForm.taskRequest).bj || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="个人风格与价值观 ">
                                                {{  JSON.parse(taskForm.taskRequest).grfgyjzg || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="真实程度 ">
                                            {{  JSON.parse(taskForm.taskRequest).zscd || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    
                                </div>
                                <div v-if="taskForm.aiType == 26 || taskForm.aiType == 29 || taskForm.aiType ==30">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="文章创作主题">
                                            {{  JSON.parse(taskForm.taskRequest).title || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="主题风格 ">
                                            {{  JSON.parse(taskForm.taskRequest).theme || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="文章风格  ">
                                            {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="是否上传签名图片 ">
                                            {{  JSON.parse(taskForm.taskRequest).tokenImage ? '是' : '否' }}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).tokenImage">
                                            <el-form-item label="签名图地址 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).tokenImageUrl"/>
                                            </el-form-item>
                                        </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片来源 ">
                                            {{  JSON.parse(taskForm.taskRequest).imageSource || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="门店文章 ">
                                                {{  JSON.parse(taskForm.taskRequest).articleType || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24">
                                        <el-form-item label="门店介绍 ">
                                                {{  JSON.parse(taskForm.taskRequest).storeArticle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24" v-if="taskForm.aiType == 30">
                                        <el-form-item label="活动内容 ">
                                                {{  JSON.parse(taskForm.taskRequest).activityArticle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24" v-if="taskForm.aiType == 29 || taskForm.aiType == 30">
                                        <el-form-item label="产品介绍 ">
                                                {{  JSON.parse(taskForm.taskRequest).productArticle	 || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl1">
                                            <el-form-item label="配图1">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl1"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl2">
                                            <el-form-item label="配图2 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl2"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl3">
                                            <el-form-item label="配图3 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl3"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl4">
                                            <el-form-item label="配图4 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl4"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl5">
                                            <el-form-item label="配图5 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl5"/>
                                            </el-form-item>
                                        </el-col>
                                    
                                </div>
                                <div v-if="taskForm.aiType == 27">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="产品菜单">
                                            {{  JSON.parse(taskForm.taskRequest).cpcd || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="行业">
                                            {{  JSON.parse(taskForm.taskRequest).hy || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="门店地址">
                                            {{  JSON.parse(taskForm.taskRequest).mddz || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="门店介绍">
                                            {{  JSON.parse(taskForm.taskRequest).mdjs || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="门店名称">
                                            {{  JSON.parse(taskForm.taskRequest).mdmc || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="门店特点">
                                            {{  JSON.parse(taskForm.taskRequest).mdtd || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="品牌故事">
                                            {{  JSON.parse(taskForm.taskRequest).ppgs || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="真实程度">
                                            {{  JSON.parse(taskForm.taskRequest).zscd || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 28">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="产品名称">
                                            {{  JSON.parse(taskForm.taskRequest).cpmc || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    
                                    <el-col :span="6">
                                        <el-form-item label="产品价格及规格">
                                            {{  JSON.parse(taskForm.taskRequest).cpjgjgg || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="行业">
                                            {{  JSON.parse(taskForm.taskRequest).hy || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="门店地址">
                                            {{  JSON.parse(taskForm.taskRequest).mddz || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    
                                    <el-col :span="6">
                                        <el-form-item label="门店名称">
                                            {{  JSON.parse(taskForm.taskRequest).mdmc || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="优惠活动">
                                            {{  JSON.parse(taskForm.taskRequest).yhhd || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="用户人群">
                                            {{  JSON.parse(taskForm.taskRequest).yhrq || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="产品特色">
                                            {{  JSON.parse(taskForm.taskRequest).cpts || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="真实程度">
                                            {{  JSON.parse(taskForm.taskRequest).zscd || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 31">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="文章标题">
                                            {{  JSON.parse(taskForm.taskRequest).title || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    
                                    <el-col :span="6">
                                        <el-form-item label="公众号名称">
                                            {{  JSON.parse(taskForm.taskRequest).name || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片风格">
                                            {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="公众号简介">
                                            {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="文章内容">
                                            {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 32">
                                    <el-col :span="6">
                                        <el-form-item label="公众号名称">
                                            {{  JSON.parse(taskForm.taskRequest).name || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="公众号简介">
                                            {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片风格">
                                            {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                            <el-form-item label="二维码图片地址">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl"/>
                                            </el-form-item>
                                        </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="文章内容">
                                            {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    
                                    </div>
                                    <div v-if="taskForm.aiType == 33">
                                    <el-col :span="6">
                                        <el-form-item label="小红书账号名称">
                                            {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="账号标语">
                                            {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片风格">
                                            {{  JSON.parse(taskForm.taskRequest).imageStyle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    
                                    <el-col :span="24">
                                        <el-form-item label="门店介绍手册">
                                            {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 34">
                                    <el-col :span="6">
                                        <el-form-item label="小红书账号名称">
                                            {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="账号标语">
                                            {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片风格">
                                            {{  JSON.parse(taskForm.taskRequest).imageStyle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="产品图片">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).productImage"/>
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24">
                                        <el-form-item label="产品介绍手册">
                                            {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 35">
                                    <el-col :span="6">
                                        <el-form-item label="小红书账号名称">
                                            {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="账号标语">
                                            {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片风格">
                                            {{  JSON.parse(taskForm.taskRequest).imageStyle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24">
                                        <el-form-item label="活动策划">
                                            {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 36">
                                    <el-col :span="6">
                                        <el-form-item label="文案类型">
                                            {{  JSON.parse(taskForm.taskRequest).articleType || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="语言风格">
                                            {{  JSON.parse(taskForm.taskRequest).languageStyle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24">
                                        <el-form-item label="朋友圈文案">
                                            {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 37">
                                    <el-col :span="6">
                                        <el-form-item label="语言风格">
                                            {{  JSON.parse(taskForm.taskRequest).languageStyle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl1">
                                            <el-form-item label="配图1">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl1"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl2">
                                            <el-form-item label="配图2 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl2"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl3">
                                            <el-form-item label="配图3 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl3"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl4">
                                            <el-form-item label="配图4 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl4"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl5">
                                            <el-form-item label="配图5 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl5"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl6">
                                            <el-form-item label="配图6 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl6"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl7">
                                            <el-form-item label="配图7 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl7"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl8">
                                            <el-form-item label="配图8 ">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl8"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl9">
                                            <el-form-item label="配图9">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl9"/>
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 38">
                                    <el-col :span="6">
                                        <el-form-item label="节日">
                                            {{  JSON.parse(taskForm.taskRequest).jr || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="活动类型">
                                            {{  JSON.parse(taskForm.taskRequest).hdlx ||'-' }}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="经营问题">
                                            {{  JSON.parse(taskForm.taskRequest).jywt || '-' }}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="12">
                                        <el-form-item label="门店介绍">
                                            {{  JSON.parse(taskForm.taskRequest).mdjs || '-' }}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="12">
                                        <el-form-item label="产品介绍">
                                            {{  JSON.parse(taskForm.taskRequest).cpjs || '-' }}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 39">
                                        
                                    <el-col :span="12">
                                        <el-form-item label="门店介绍手册">
                                            {{  JSON.parse(taskForm.taskRequest).storeArticle || '-' }}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="12">
                                        <el-form-item label="问题描述">
                                            {{  JSON.parse(taskForm.taskRequest).text || '-' }}
                                        </el-form-item>
                                    </el-col>
                                    
                                    </div>
                                    <div v-if="taskForm.aiType == 40">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="背景图">
                                            {{  JSON.parse(taskForm.taskRequest).tokenImage ? '是' : '否' }}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="size">
                                            {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).tokenImage">
                                            <el-form-item label="背景图片">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).backgroundImageUrl"/>
                                            </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                            <el-form-item label="产品图片地址">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).productImage"/>
                                            </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                            <el-form-item label="背景图描述">
                                            {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                        </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 41">
                                    <el-col :span="24">
                                            <el-form-item label="图片地址">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).image"/>
                                            </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 42">
                                    
                                    <el-col :span="12">
                                        <el-form-item label="风格">
                                            {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="12">
                                            <el-form-item label="图片地址">
                                                <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl"/>
                                            </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 43">
                                    
                                    <el-col :span="24">
                                        <el-form-item label="文案内容">
                                            {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 44">
                                    
                                    <el-col :span="6">
                                        <el-form-item label="风格">
                                            {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="18">
                                        <el-form-item label="额外要求">
                                            {{  JSON.parse(taskForm.taskRequest).extraDemands || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24">
                                        <el-form-item label="文案内容">
                                            {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 45">
                                        
                                        <el-col :span="6">
                                            <el-form-item label="pdf名称">
                                                {{  JSON.parse(taskForm.taskRequest).title || ''}}
                                            </el-form-item>
                                        </el-col>
                                        
                                        <el-col :span="24">
                                            <el-form-item label="文案内容">
                                                {{  JSON.parse(taskForm.taskRequest).content || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 46">
                                        
                                    <el-col :span="6">
                                        <el-form-item label="任务AI类型">
                                            {{  JSON.parse(taskForm.taskRequest).taskAiType == '1' ? '数字人' : '混剪'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="是否结算">
                                            {{  JSON.parse(taskForm.taskRequest).isJs == '1' ? '默认结算' : '否'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="24">
                                        <el-form-item label="文案内容">
                                            {{  JSON.parse(taskForm.taskRequest).input || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 47 || taskForm.aiType == 48">
                                        <el-col :span="6">
                                            <el-form-item label="擅长内容形式">
                                                {{  JSON.parse(taskForm.taskRequest).contentForm || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="学习与适应能力">
                                                {{  JSON.parse(taskForm.taskRequest).learningAbility || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="变现经验">
                                                {{  JSON.parse(taskForm.taskRequest).monetization || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="变现经验名称">
                                                {{  JSON.parse(taskForm.taskRequest).monetizationName || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="变现经验其他">
                                                {{  JSON.parse(taskForm.taskRequest).monetizationOther || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="流量广告变现">
                                                {{  JSON.parse(taskForm.taskRequest).monetizationRank1 || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="视频图片带货">
                                                {{  JSON.parse(taskForm.taskRequest).monetizationRank2 || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="付费社群/课程">
                                                {{  JSON.parse(taskForm.taskRequest).monetizationRank3 || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="直播打赏">
                                                {{  JSON.parse(taskForm.taskRequest).monetizationRank4 || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="昵称">
                                                {{  JSON.parse(taskForm.taskRequest).name || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="职业状态">
                                                {{  JSON.parse(taskForm.taskRequest).occupationalStatusName || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="期待回报周期">
                                                {{  JSON.parse(taskForm.taskRequest).paybackPeriod || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="自媒体经验">
                                                {{  JSON.parse(taskForm.taskRequest).selfMedia || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="粉丝量级">
                                                {{  JSON.parse(taskForm.taskRequest).selfMediaFansLevel || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="平台">
                                                {{  JSON.parse(taskForm.taskRequest).selfMediaPlatform || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="具备技能">
                                                {{  JSON.parse(taskForm.taskRequest).skill || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="副业投入时间">
                                                {{  JSON.parse(taskForm.taskRequest).time || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="关注过的新兴赛道">
                                                {{  JSON.parse(taskForm.taskRequest).track || ''}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="年龄段">
                                                {{  JSON.parse(taskForm.taskRequest).age || ''}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 49 ">
                                        <el-col :span="6">
                                            <el-form-item label="优化标题">
                                                {{  JSON.parse(taskForm.taskRequest).title || ''}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    
                                    <div v-if="taskForm.aiType == 50 ">
                                        <el-col :span="6">
                                            <el-form-item label="文案内容">
                                                {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="字数要求">
                                                {{  JSON.parse(taskForm.taskRequest).wordsNumber || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="风格">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="额外要求">
                                                {{  JSON.parse(taskForm.taskRequest).extraDemands || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 51 ">
                                        <el-col :span="6">
                                            <el-form-item label="赛道">
                                                {{  JSON.parse(taskForm.taskRequest).track || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="个人IP手册">
                                                {{  JSON.parse(taskForm.taskRequest).ipArticle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        
                                    </div>
                                    <div v-if="taskForm.aiType == 52 ">
                                        <el-col :span="24">
                                            <el-form-item label="选题">
                                                {{  JSON.parse(taskForm.taskRequest).title || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 53 ">
                                        <el-col :span="6">
                                            <el-form-item label="小红书账号名称">
                                                {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="账号标语">
                                                {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        
                                        <el-col :span="6">
                                            <el-form-item label="图片风格">
                                                {{  JSON.parse(taskForm.taskRequest).imageStyle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="人员信息">
                                                {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 54">
                                        <el-col :span="6">
                                            <el-form-item label="文章创作主题 ">
                                                    {{  JSON.parse(taskForm.taskRequest).title || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="图片来源 ">
                                                {{  JSON.parse(taskForm.taskRequest).imageSource || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl1">
                                                <el-form-item label="配图1">
                                                    <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl1"/>
                                                </el-form-item>
                                            </el-col>
                                            <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl2">
                                                <el-form-item label="配图2 ">
                                                    <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl2"/>
                                                </el-form-item>
                                            </el-col>
                                            <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl3">
                                                <el-form-item label="配图3 ">
                                                    <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl3"/>
                                                </el-form-item>
                                            </el-col>
                                            <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl4">
                                                <el-form-item label="配图4 ">
                                                    <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl4"/>
                                                </el-form-item>
                                            </el-col>
                                            <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).imageUrl5">
                                                <el-form-item label="配图5 ">
                                                    <imagePreview :url="JSON.parse(taskForm.taskRequest).imageUrl5"/>
                                                </el-form-item>
                                            </el-col>
                                        
                                        <el-col :span="6">
                                            <el-form-item label="主题风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).theme || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="文章风格  ">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="是否上传签名图片 ">
                                                {{  JSON.parse(taskForm.taskRequest).tokenImage ? '是' : '否' }}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).tokenImage">
                                                <el-form-item label="签名图地址 ">
                                                    <imagePreview :url="JSON.parse(taskForm.taskRequest).tokenImageUrl"/>
                                                </el-form-item>
                                            </el-col>
                                            <el-col :span="24">
                                            <el-form-item label="个人IP">
                                                {{  JSON.parse(taskForm.taskRequest).ipArticle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                
                                    <div v-if="taskForm.aiType == 55">
                                        <el-col :span="6">
                                        <el-form-item label="文案类型 ">
                                                {{  JSON.parse(taskForm.taskRequest).articleType || '-'}}
                                        </el-form-item>
                                    </el-col>
                                        <el-col :span="6">
                                        <el-form-item label="语言风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).languageStyle || '-'}}
                                        </el-form-item>
                                    </el-col>
                                        <el-col :span="6">
                                        <el-form-item label="朋友圈文案 ">
                                                {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 56">
                                        <el-col :span="24">
                                        <el-form-item label="用户输入内容 ">
                                                {{  JSON.parse(taskForm.taskRequest).article || '-'}}
                                        </el-form-item>
                                    </el-col>
                                        <el-col :span="6">
                                        <el-form-item label="海报类型 ">
                                                {{  JSON.parse(taskForm.taskRequest).bannerType || '-'}}
                                        </el-form-item>
                                    </el-col>
                                        <el-col :span="6">
                                        <el-form-item label="海报尺寸 ">
                                                {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                        </el-form-item>
                                    </el-col>
                                        <el-col :span="6">
                                        <el-form-item label="图片风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                        <el-col :span="6">
                                        <el-form-item label="是否上传二维码 ">
                                                {{  JSON.parse(taskForm.taskRequest).tokenImage ? '是' : '否' }}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 57">
                                        <el-col :span="24">
                                        <el-form-item label="用户输入内容 ">
                                                {{  JSON.parse(taskForm.taskRequest).input || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 61 || taskForm.aiType == 60">
                                        <el-col :span="6">
                                            <el-form-item label="账号名称">
                                                {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="账号标语">
                                                {{  JSON.parse(taskForm.taskRequest).profile || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="图片风格">
                                                {{  JSON.parse(taskForm.taskRequest).imageStyle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="素材来源">
                                                {{  JSON.parse(taskForm.taskRequest).dataSource || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        
                                        <el-col :span="6" v-if="JSON.parse(taskForm.taskRequest).dataSource  == 'pdf'">
                                            <el-form-item label="PDF">
                                                <fileUpload v-model="JSON.parse(taskForm.taskRequest).pdf" :limit="1" :isJson="false" :isEdit="false"/>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6" v-else-if="JSON.parse(taskForm.taskRequest).dataSource  == '网络搜索'">
                                            <el-form-item label="PDF">
                                                <fileUpload v-model="JSON.parse(taskForm.taskRequest).keyWord" :limit="1" :isJson="false" :isEdit="false"/>
                                            </el-form-item>
                                        </el-col>
                                       <el-col :span="6" v-else>
                                            <el-form-item label="文案内容">
                                                {{  JSON.parse(taskForm.taskRequest).text || '-'}}
                                            </el-form-item>
                                        </el-col>
                                       
                                       

                                    </div>
                                    <div v-if="taskForm.aiType == 62 || taskForm.aiType == 63">
                                        <el-col :span="6">
                                        <el-form-item label="作者昵称 ">
                                                {{  JSON.parse(taskForm.taskRequest).author || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="左上角小标题 ">
                                                {{  JSON.parse(taskForm.taskRequest).leftText || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="视频主题 ">
                                                {{  JSON.parse(taskForm.taskRequest).title || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="右上角小标题 ">
                                                {{  JSON.parse(taskForm.taskRequest).rightText || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="用户头像 ">
                                                <imagePreview :url="[{name:'头像',url : JSON.parse(taskForm.taskRequest).pic}]"/>
                                                
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 64 || taskForm.aiType == 65 ">
                                        <el-col :span="24">
                                        <el-form-item label="用户输入内容 ">
                                                {{  JSON.parse(taskForm.taskRequest).book || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if=" taskForm.aiType == 66 ">
                                        <el-col :span="6">
                                        <el-form-item label="书名 ">
                                                {{  JSON.parse(taskForm.taskRequest).title || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="音色 ">
                                                {{  JSON.parse(taskForm.taskRequest).voiceColor || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="语言风格 ">
                                                {{  JSON.parse(taskForm.taskRequest).style || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="尺寸 ">
                                                {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    </div>
                                    <div v-if=" taskForm.aiType == 67">
                                        <el-col :span="6">
                                        <el-form-item label="书名 ">
                                                {{  JSON.parse(taskForm.taskRequest).bookName || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="尺寸 ">
                                                {{  JSON.parse(taskForm.taskRequest).size || '-'}}
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="12">
                                        <el-form-item label="背景视频 ">
                                                <videoUpload
                                                    size="mini"
                                                    v-model="JSON.parse(taskForm.taskRequest).bgVideoUrl"
                                                    :isShowTip="false"
                                                    :limit="0"
                                                />
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="12">
                                        <el-form-item label="背景音乐 ">
                                                <audio ref="audio" :src="JSON.parse(taskForm.taskRequest).bgMusicUrl"  controls ></audio>
                                        </el-form-item>
                                    </el-col>
                                    
                                    </div>
                                    <div v-if=" taskForm.aiType == 68">
                                        <el-col :span="6">
                                            <el-form-item label="书名 ">
                                                    {{  JSON.parse(taskForm.taskRequest).bookName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="6">
                                            <el-form-item label="用户名 ">
                                                    {{  JSON.parse(taskForm.taskRequest).ipName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 72">
                                        <el-col :span="6">
                                            <el-form-item label="主题 ">
                                                    {{  JSON.parse(taskForm.taskRequest).input || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                    <div v-if="taskForm.aiType == 73">
                                        <el-col :span="6">
                                            <el-form-item label="账号名称">
                                                    {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                         <el-col :span="6">
                                            <el-form-item label="产品名称">
                                                    {{  JSON.parse(taskForm.taskRequest).productName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                         
                                         
                                         <el-col :span="6">
                                            <el-form-item label="图片风格">
                                                    {{  JSON.parse(taskForm.taskRequest).imageStyle || '-'}}
                                            </el-form-item>
                                        </el-col>
                                         <el-col :span="6">
                                            <el-form-item label="产品图片">
                                                <imagePreview :url=" JSON.parse(taskForm.taskRequest).productImage " />
                                                <el-button  type="primary" @click="downLoadImage(JSON.parse(taskForm.taskRequest).productImage)" size="mini" plain  class="mar-t-10">图片下载</el-button>
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="12">
                                            <el-form-item label="产品特点">
                                                    {{  JSON.parse(taskForm.taskRequest).productFeature || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="12">
                                            <el-form-item label="账号简介">
                                                    {{  JSON.parse(taskForm.taskRequest).userName || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </div>
                                </el-form-item>
                                
                                <el-form-item label="" v-else>
                                    -
                                </el-form-item>
                            </el-col>
                            
                            
                            
                        </el-row>
                    </template>
                    <div class="item-title-box" v-if="form.useAiType  > 2">任务返回</div>
                    <div class="form-detail-top-box" v-if="form.useAiType == 71">
                        <el-row :gutter="20">
                
                            <el-col :span="6">
                                <el-form-item  label="音色名称" prop="name">
                                    {{taskForm.name || '-'}}
                                </el-form-item>
                            </el-col>
                            <el-col :span="6" >
                                <el-form-item  label="训练音频" prop="trainingAudioUrl">
                                    <audio ref="audio" :src="taskForm.trainingAudioUrl"  controls style="height: 30px;width:150px" ></audio>
                                    <fileUpload v-model="taskForm.trainingAudioUrl" :limit="1" :isJson="false" accept=".mp3,.wav,.wma,.ape,.flac,.ogg,.aac" :fileSize="15" :isEdit="false"/>
                                </el-form-item>
                            </el-col>
                            
                            <el-col :span="6">
                                <el-form-item label="音色质量" prop="supplierType">
                                    {{taskForm.supplierType == '1' ? '低质量' : '高质量'}}
                                </el-form-item>
                            </el-col>
                            <el-col :span="6">
                                <el-form-item label="标签" prop="tags">
                                     {{selectDictLabel(dict.type.system_timbre_type,taskForm.tags) || '-'}}
                                </el-form-item>
                            </el-col>
                            <el-col :span="24" >
                                <el-form-item  label="备注" prop="remark">
                                    {{taskForm.remark || '-'}}
                                </el-form-item>
                            </el-col>
                        </el-row>
                    </div>
                    <div class="form-detail-top-box" v-if="form.useAiType == 70">
                        <el-row :gutter="20">
                
                            <el-col :span="6">
                                <el-form-item  label="训练视频" prop="trainingVideoUrl">
                                    <videoUpload
                                        size="mini"
                                        v-model="taskForm.trainingVideoUrl"
                                        :isShowTip="false"
                                        :limit="0"
                                    />
                                    <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="taskForm.trainingVideoUrl" v-clipboard:success="clipboardSuccess">复制链接</el-button>
                                </el-form-item>

                            </el-col>
                        </el-row>
                    </div>
                    <el-row :gutter="20" class="form-detail-top-box" v-if="form.useAiType  > 2 && form.useAiType !=' 70' && form.useAiType != '71'">
                        <el-col :span="24">
                            <el-form-item label="" v-if="taskForm.aiType == 14">
                                <el-table ref="orderTable" :data="taskForm.taskResponse" >
                                    <el-table-column label="标题"  :show-overflow-tooltip="true" align="center" >
                                        <template slot-scope="scope">
                                            {{ scope.row.title || '-' }}
                                        </template>
                                    </el-table-column>
                                    <el-table-column label="用户昵称" align="center" width="150">
                                        <template slot-scope="scope">
                                            {{ scope.row.nickname || '-' }}
                                        </template>
                                    </el-table-column>
                                    <el-table-column label="视频" align="center" width="110">
                                        <template slot-scope="scope">
                                            <videoUpload
                                                size="mini"
                                                v-model="scope.row.video_url"
                                                :isShowTip="false"
                                                :limit="0"
                                            />
                                        </template>
                                    </el-table-column>
                                    <el-table-column label="操作" align="center" width="100">
                                        <template slot-scope="scope">
                                            <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="scope.row.video_url" v-clipboard:success="clipboardSuccess">复制链接</el-button>
                                        </template>
                                    </el-table-column>
                                </el-table>
                            </el-form-item>
                            <el-form-item label="" v-else>
                                <div  v-if="taskForm.aiType == 12">
                                    <videoUpload
                                        size="mini"
                                        v-model="JSON.parse(taskForm.taskResponse).url"
                                        :isShowTip="false"
                                        :limit="0"
                                    
                                    />
                                    <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskResponse).url" v-clipboard:success="clipboardSuccess" v-if="taskForm.taskResponse" class="mar-t-10">复制链接</el-button>

                                </div>                               
                                <template v-else-if="taskForm.aiType == 16 ">
                                    <div class="flex-align-center" v-if="taskForm.taskResponse">
                                        <audio ref="audio" :src="JSON.parse(taskForm.taskResponse).url"  controls ></audio>
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="taskForm.taskResponse" v-clipboard:success="clipboardSuccess" class="mar-l-10">复制链接</el-button>

                                    </div>
                                    <span v-else>-</span>

                                </template>
                                <template v-else-if="taskForm.aiType == 15 || taskForm.aiType == 56">
                                    <imagePreview :url="taskForm.taskResponse" v-if="taskForm.taskResponse"/>
                                   <el-button  type="primary" @click="downLoadImage(taskForm.taskResponse)" size="mini" plain  v-if="taskForm.taskResponse" class="mar-t-10">图片下载</el-button>
                                </template>
                                <template v-else-if="taskForm.aiType == 20 ">
                                    <div class="flex-align-center">
                                        <div v-for="(item,index) in JSON.parse(taskForm.taskResponse)" :key="index">
                                            <el-image :src="item"   style="width: 100px;height: 100px; margin-right: 10px;" :preview-src-list="JSON.parse(taskForm.taskResponse)"></el-image>
                                            <el-button  type="primary" @click="downLoadImage(item)" size="mini" plain  v-if="item" class="mar-t-10">图片下载</el-button>
                                        </div>
                                       
                                    </div>
                                   
                                   <!-- <imagePreview :url="JSON.parse(taskForm.taskResponse)" v-if="taskForm.taskResponse"/>
                                  <el-button  type="primary" @click="downLoadImage(taskForm.taskResponse)" size="mini" plain  v-if="taskForm.taskResponse" class="mar-t-10">图片下载</el-button> -->
                                   
                               </template>
                               <template v-else-if="taskForm.aiType == 21 ||taskForm.aiType == 22 || taskForm.aiType == 23 || taskForm.aiType == 24||  taskForm.aiType == 40 || taskForm.aiType == 41 || taskForm.aiType == 42">
                                    <imagePreview :url="taskForm.taskResponse" v-if="taskForm.taskResponse"/>
                                   <el-button  type="primary" @click="downLoadImage(taskForm.taskResponse)" size="mini" plain  v-if="taskForm.taskResponse" class="mar-t-10">图片下载</el-button>
                                </template>
                                
                                <div v-else-if=" taskForm.aiType == 25">
                                    <div class="response-desc" >{{  JSON.parse(taskForm.taskResponse).content || '-' }}</div>
                                    <div class="copy-btn">
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskResponse).content" v-clipboard:success="clipboardSuccess" v-if="taskForm.taskResponse">复制文案</el-button>
                                    </div>
                                </div>
                                <div v-else-if=" taskForm.aiType == 27 || taskForm.aiType == 28">
                                    <div class="response-desc" >{{  JSON.parse(taskForm.taskResponse).prompt || '-' }}</div>
                                    <div class="copy-btn">
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="JSON.parse(taskForm.taskResponse).prompt" v-clipboard:success="clipboardSuccess" v-if="taskForm.taskResponse">复制文案</el-button>
                                    </div>
                                </div>
                                <template v-else-if="taskForm.aiType == 26 || taskForm.aiType == 29 || taskForm.aiType == 30 ">
                                    <div class="response-desc" >
                                        <div class="title">{{ JSON.parse(taskForm.taskResponse).title}}</div>
                                        <div v-html="parsedArticle(JSON.parse(this.taskForm.taskResponse).article)"></div>
                                    </div>
                                    
                                </template>
                                <template v-else-if="taskForm.aiType == 31 || taskForm.aiType == 32">
                                    <imagePreview :url="taskForm.taskResponse"/>
                                   <el-button  type="primary" @click="downLoadImage(taskForm.taskResponse)" size="mini" plain  v-if="taskForm.taskResponse" class="mar-t-10">图片下载</el-button>
                                </template>
                                <template v-else-if="taskForm.aiType == 33 || taskForm.aiType == 34 || taskForm.aiType == 35">
                                    <div class="response-desc" >
                                        <div class="title">{{ JSON.parse(taskForm.taskResponse).title_in_chinese  || '-'}}</div>
                                        <div class="title">{{ JSON.parse(taskForm.taskResponse).tags_in_chinese  || '-'}}</div>

                                        <div class="content-desc">{{ JSON.parse(taskForm.taskResponse).summary_in_chinese  || '-' || '-' }}</div>
                                        <div class="flex-align-center">
                                            <el-image :src="item" v-for="(item,index) in JSON.parse(taskForm.taskResponse).image_url" :key="index" :preview-src-list="JSON.parse(taskForm.taskResponse).image_url" style="width: 100px;margin-right: 10px;"></el-image>
                                            <!-- <el-image :src="JSON.parse(taskForm.taskResponse).image_url" :preview-src-list="JSON.parse(taskForm.taskResponse).image_url" v-if="JSON.parse(taskForm.taskResponse).image_url" style="width: 100px;margin-right: 10px;"></el-image> -->
                                            <!-- <el-image :src="JSON.parse(taskForm.taskResponse).image_url2" :preview-src-list="[JSON.parse(taskForm.taskResponse).image_url2]" v-if="JSON.parse(taskForm.taskResponse).image_url2" style="width: 100px;margin-right: 10px;"></el-image>
                                            <el-image :src="JSON.parse(taskForm.taskResponse).image_url3" :preview-src-list="[JSON.parse(taskForm.taskResponse).image_url3]" v-if="JSON.parse(taskForm.taskResponse).image_url3" style="width: 100px;margin-right: 10px;"></el-image>
                                            <el-image :src="JSON.parse(taskForm.taskResponse).image_url4" :preview-src-list="[JSON.parse(taskForm.taskResponse).image_url4]" v-if="JSON.parse(taskForm.taskResponse).image_url4" style="width: 100px"></el-image> -->
                                        </div>
                                       

                                    </div>
                                    <div class="copy-btn">
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy=" JSON.parse(taskForm.taskResponse).summary_in_chinese" v-clipboard:success="clipboardSuccess" v-if="taskForm.taskResponse">复制文案</el-button>
                                        <el-button  type="primary" @click="downLoadMoreImage(JSON.parse(taskForm.taskResponse))" size="mini" plain  >下载图片</el-button>
                                    </div>
                                </template>
                                <div v-else-if="taskForm.aiType == 43">
                                    <el-row>
                                        <el-col :span="24">
                                            <el-form-item label="原文 AI 特征分析：">
                                                {{  JSON.parse(taskForm.taskResponse).feature_analysis || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="核心优化策略：">
                                                {{  JSON.parse(taskForm.taskResponse).optimization_tactics || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="真人级自然表达：">
                                                {{  JSON.parse(taskForm.taskResponse).update_article || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </el-row>
                                </div>
                                <div v-else-if="taskForm.aiType == 45">
                                    <div>{{ taskForm.taskResponse || '-' }}</div>
                                    <div class="copy-btn">
                                       
                                        <!-- <el-button  type="primary" @click="lookDetailPdf(taskForm.taskResponse)" size="mini" plain  >预览pdf</el-button> -->
                                        <el-button  type="primary" @click="downLoadImage(taskForm.taskResponse)" size="mini" plain  >下载</el-button>
                                    </div>
                                </div>
                                <div v-else-if="taskForm.aiType == 46">
                                    <el-table ref="orderTable" :data="JSON.parse(taskForm.taskResponse ).output" >
                                        <el-table-column label="返回内容" align="center" >
                                            <template slot-scope="scope">
                                                {{scope.row.title_in_chinese || '-'}}
                                                
                                            </template>
                                        </el-table-column>
                                        <el-table-column label="操作" align="center" width="200">
                                            <template slot-scope="scope">
                                                <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="scope.row.title_in_chinese" v-clipboard:success="clipboardSuccess" v-if="scope.row.title_in_chinese">复制文案</el-button>
                                            </template>
                                        </el-table-column>
                                    </el-table>
                                </div>
                                <div v-else-if="taskForm.aiType == 49">
                                    <el-table ref="orderTable" :data="JSON.parse(taskForm.taskResponse ).output" >
                                        <el-table-column label="新的标题" align="center" >
                                            <template slot-scope="scope">
                                                {{scope.row.title || '-'}}
                                                
                                            </template>
                                        </el-table-column>
                                        <el-table-column label="选题讲解" align="center" >
                                            <template slot-scope="scope">
                                                {{scope.row.suggestion || '-'}}
                                                
                                            </template>
                                        </el-table-column>
                                    </el-table>
                                </div>
                                <div v-else-if="taskForm.aiType == 51">
                                    <el-table ref="orderTable" :data="JSON.parse(taskForm.taskResponse ).output" >
                                        <el-table-column label="标题信息" align="center" >
                                            <template slot-scope="scope">
                                                {{scope.row.title || '-'}}
                                                
                                            </template>
                                        </el-table-column>
                                        <el-table-column label="选题讲解" align="center" >
                                            <template slot-scope="scope">
                                                {{scope.row.value || '-'}}
                                                
                                            </template>
                                        </el-table-column>
                                    </el-table>
                                </div>
                                <div  class="response-desc"  v-else-if="taskForm.aiType == 52">
                                    <div v-for="(item,index) in resultList(JSON.parse(taskForm.taskResponse ))">
                                        <div class="title">文案信息{{'0'+(index+1)}}</div>

                                        <div>{{ item }}</div>
                                    </div>
                                </div>
                                <div  class="response-desc"  v-else-if="taskForm.aiType == 53 || taskForm.aiType == 61 || taskForm.aiType == 60 || taskForm.aiType == 73">
                                    <el-row>
                                        <el-col :span="24">
                                            <el-form-item label="笔记配图：">
                                                <div class="flex-align-center">
                                                    <div  v-for="(item,index) in JSON.parse(taskForm.taskResponse).image_url" :key="index">
                                                        <el-image :src="item" style="width: 100px;height: 100px;margin-right: 10px;" :preview-src-list="JSON.parse(taskForm.taskResponse).image_url"></el-image>
                                                        <div>                                                        
                                                            <el-button  type="primary" @click="downLoadImage(item)" size="mini" plain  >下载图片</el-button>
                                                        </div>
                                                    </div>
                                                    
                                                </div>
                                              
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="笔记标题：">
                                                {{  JSON.parse(taskForm.taskResponse).title_in_chinese || '-'}}
                                            </el-form-item>
                                        </el-col>
                                        <el-col :span="24">
                                            <el-form-item label="笔记内容：">
                                                {{  JSON.parse(taskForm.taskResponse).summary_in_chinese || '-'}}
                                            </el-form-item>
                                        </el-col>
                                    </el-row>
                                </div>
                                <template v-else-if="taskForm.aiType == 54 ">
                                    <div class="response-desc" >
                                        <div v-html="parsedArticle(taskForm.taskResponse)" v-if="taskForm.taskResponse"></div>
                                    </div>
                                    
                                </template>
                                <div   v-else-if=" taskForm.aiType == 57">
                                    <div v-for="(item,index) in JSON.parse(taskForm.taskResponse ).output">
                                        <div class="title">高分{{'0'+(index+1)}}</div>
                                        <div >评论：{{item.comment}}</div>
                                        <div>技巧：{{item.technique}}</div>
                                    </div>
                                </div>
                                <div   v-else-if="taskForm.aiType == 62 || taskForm.aiType == 63">
                                    <el-col :span="6">
                                        <el-form-item label="视频：">
                                            <videoUpload
                                                size="mini"
                                                v-model="JSON.parse(taskForm.taskResponse).video_url"
                                                :isShowTip="false"
                                                :limit="0"
                                                
                                            />
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="图片：">
                                            <imagePreview :url="[{name:'图片',url: JSON.parse(taskForm.taskResponse).data}]"></imagePreview>
                                            
                                        </el-form-item>
                                    </el-col>
                                    <el-col :span="6">
                                        <el-form-item label="标题：">
                                           {{JSON.parse(taskForm.taskResponse).title || '-'}}
                                        </el-form-item>
                                    </el-col>
                                     
                                </div>
                                <div v-else-if="taskForm.aiType == 64 || taskForm.aiType == 65 || taskForm.aiType == 66 || taskForm.aiType == 67 || taskForm.aiType == 68 || taskForm.aiType == 72">
                                      <videoUpload
                                        size="mini"
                                        v-model="taskForm.taskResponse"
                                        :isShowTip="false"
                                        :limit="0"
                                        
                                    />
                                    <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="taskForm.taskResponse" v-clipboard:success="clipboardSuccess" class="mar-t-10">复制链接</el-button>
                                </div>
                                
                                <div v-else>
                                    <div class="response-desc" >{{  taskForm.taskResponse || '-' }}</div>
                                    <div class="copy-btn">
                                        <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="taskForm.taskResponse" v-clipboard:success="clipboardSuccess" v-if="taskForm.taskResponse">复制文案</el-button>
                                    </div>
                                </div>
                                
                            </el-form-item>
                        </el-col>
                    </el-row>
                </el-form>
            </el-tab-pane>
           
            <el-tab-pane label="任务素材" name="2"  v-if="form.useAiType == 2">
                <el-table ref="orderTable" :data="videoDetailForm.materials" >
                    <el-table-column label="素材类型" align="center">
                        <template slot-scope="scope">
                            <span v-if="scope.row.materiaType == 1">视频</span>
                            <span v-if="scope.row.materiaType == 2">背景音乐</span>
                            <span v-if="scope.row.materiaType == 3">图片</span>
                            
                        </template>
                    </el-table-column>
                    <el-table-column label="素材视频" align="center">
                        <template slot-scope="scope">
                            <videoUpload
                                size="mini"
                                v-model="scope.row.materiaFileUrl"
                                :isShowTip="false"
                                :limit="0"
                            />
                        </template>
                    </el-table-column>
                    <el-table-column label="来源类型" align="center">
                        <template slot-scope="scope">
                            <span v-if="scope.row.sourceType == 1">系统</span>
                            <span v-if="scope.row.sourceType == 2">客户</span>                                    
                        </template>
                    </el-table-column>
                    <el-table-column label="创建时间" align="center">
                        <template slot-scope="scope">
                            {{ scope.row.createTime ||'-' }}
                        </template>
                    </el-table-column>
                    <el-table-column label="操作" align="center" width="100">
                        <template slot-scope="scope">
                            <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="scope.row.materiaFileUrl" v-clipboard:success="clipboardSuccess">复制链接</el-button>
                        </template>
                    </el-table-column>
                    
                </el-table>
            </el-tab-pane>
            <el-tab-pane label="任务文案" name="3"  v-if="form.useAiType == 2">
                <el-table ref="orderTable" :data="videoDetailForm.scripts" >
                    <el-table-column label="文案内容" align="center"  :show-overflow-tooltip="true">
                        <template slot-scope="scope">
                            {{ scope.row.content || '-' }}
                        </template>
                    </el-table-column>
                    <el-table-column label="字幕文件地址" align="center" >
                        <template slot-scope="scope">
                            {{ scope.row.vttUrl || '-' }}
                        </template>
                    </el-table-column>
                    <el-table-column label="字幕识别任务状态" align="center" width="100">
                        <template slot-scope="scope">
                            <el-tag type="warning" v-if="scope.row.vttStatus ==0">待处理</el-tag>
                            <el-tag v-if="scope.row.vttStatus ==1">进行中</el-tag>
                            <el-tag type="success" v-if="scope.row.vttStatus ==2">处理成功</el-tag>
                            <el-tag type="danger" v-if="scope.row.vttStatus ==3">处理失败</el-tag>

                        </template>
                    </el-table-column>
                    <el-table-column label="解说音频文件" align="center" >
                        <template slot-scope="scope">
                            <audio ref="audio" :src="scope.row.cloneAudioUrl"  controls style="height: 30px;width:150px" v-if="scope.row.cloneAudioUrl"></audio>
                            
                            <span v-else>-</span>
                        </template>
                    </el-table-column>
                    <el-table-column label="解说音频克隆状态" align="center" width="100">
                        <template slot-scope="scope">
                            <el-tag type="warning" v-if="scope.row.cloneAudioStatus ==0">待处理</el-tag>
                            <el-tag v-if="scope.row.cloneAudioStatus ==1">进行中</el-tag>
                            <el-tag type="success" v-if="scope.row.cloneAudioStatus ==2">处理成功</el-tag>
                            <el-tag type="danger" v-if="scope.row.cloneAudioStatus ==3">处理失败</el-tag>

                        </template>
                    </el-table-column>
                    <el-table-column label="操作" align="center" width="100">
                        <template slot-scope="scope">
                            <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="scope.row.cloneAudioUrl" v-clipboard:success="clipboardSuccess">复制链接</el-button>
                        </template>
                    </el-table-column>
                </el-table>
            </el-tab-pane>
            <el-tab-pane label="成片信息" name="4"  v-if="form.useAiType == 2">
                <el-table ref="orderTable" :data="videoDetailForm.outputs" >
                    <el-table-column label="成片名称" align="center">
                        <template slot-scope="scope">
                           {{ scope.row.name || '-' }}
                        </template>
                    </el-table-column>
                    
                    <el-table-column label="视频时长" align="center">
                        <template slot-scope="scope">
                            {{ scope.row.duration || '-' }}秒
                        </template>
                    </el-table-column>
                    <el-table-column label="任务时间" align="center">
                        <template slot-scope="scope">
                            {{ scope.row.createTime }}
                        </template>
                    </el-table-column>
                    <el-table-column label="成片文件地址" align="center">
                        <template slot-scope="scope">
                           
                            <videoUpload
                                size="mini"
                                v-model="scope.row.outputFileUrl"
                                :isShowTip="false"
                                :limit="0"
                                v-if="scope.row.outputFileUrl"
                            />
                            <span v-else>-</span>
                        </template>
                    </el-table-column>
                    <el-table-column label="操作" align="center" width="100">
                        <template slot-scope="scope">
                            <el-button  type="primary" @click="" size="mini" plain  v-clipboard:copy="scope.row.video_url" v-clipboard:success="clipboardSuccess">复制链接</el-button>
                        </template>
                    </el-table-column>
                   
                </el-table>
            </el-tab-pane>
            
        </el-tabs>
        <el-dialog
            :visible.sync="dialogVisible"
            title="预览"
            width="800"
            append-to-body
            @closed="closeVideo"
            >
            <video controls width="100%" height="300" ref="videoPlayer">
                <source :src="videoUrl" type="video/mp4" />
                您的浏览器不支持视频播放。
            </video>
        </el-dialog>
        
    </div>
</template>
<script>
    import {detailOrder,detailAiPersonCloneTask,detailAiVideoMixTask,detailCozeDetail,detailAiPersonVideo} from '@/api/computeOrderManage/orderList'
    import {detailAudioModel} from '@/api/materialManage/index.js'
    export default{
        dicts:[
            'ai_type',
            'order_status',
            'order_type',
            'point_change_type',
            'recharge_type',
            'recharge_status',
            'volume_size',
            'subtitle_size',
            'task_status',
            'script_word_count',
            'text_tone',
            'copy_writing_type',
            'copy_writing_language',
            'system_timbre_type'
        ],
        props: {
            id: {
                type: [Number,String],
                default: ''
            },
            aiType: {
                type: [Number,String],
                default: ''
            }
        },
        data() {
            return {
                detailCurrent:'1',
                form: {
                    
                },
                videoDetailForm: {materials: [],scripts:[],outputs:[]},
                aiPersonForm: {},
                taskForm: {},
                currentTime: 0,
                duration: 0,
                dialogVisible: false,
                videoUrl:'',
                // pdfjsUrl:'',
                // signFileOpen: false
            }
        },
       

        created() {
            this.getDetail()
        },
        methods: {
            parsedArticle(data) {
                try {
                    const raw = data || '';
                    return raw.replace(/\\n/g, '<br>');
                } catch (e) {
                return '';
                }
            },
            resultList(data) {
                let result = []
                for(let i in data){
					result.push(data[i])
				}
                return result
            },
            // lookDetailPdf(url) {
            //     const fileUrl = encodeURIComponent(url);
			// 	let jumpUrl =  `/pdf-reader/index.html?file=${fileUrl}`;
            //     this.pdfjsUrl = jumpUrl
            //     this.signFileOpen = true
            // },
            downLoadMoreImage(data) {
                if(data.image_url.length> 0){
                    data.image_url.forEach(item => {
                        window.open(item) 
                    })
                }
            },
            downLoadImage(url) {
                window.open(url)
            },
             /** 复制代码成功 */
            clipboardSuccess() {
                this.$modal.msgSuccess("复制成功");
            },
            
            closeVideo() {
                this.dialogVisible = false
                this.videoUrl = ''
                this.$refs.videoPlayer.pause();
            },
            showVideo(url) {
                this.videoUrl = url
                this.dialogVisible = true
                this.$nextTick(() => {
                    this.$refs.videoPlayer.load(); // 重新加载视频
                });
            },
            playAudio() {
                this.$refs.audio.play();
            },
            pauseAudio() {
                this.$refs.audio.pause();
            },
            updateTime() {
                this.currentTime = this.$refs.audio.currentTime;
            },
            setDuration() {
                this.duration = this.$refs.audio.duration;
            },
            seekAudio() {
                this.$refs.audio.currentTime = this.currentTime;
            },
            selectDictLabelTwo(datas, value) {
                if (value === undefined) {
                    return "";
                }
                var actions = [];
                Object.keys(datas).some((key) => {
                    if (datas[key].raw.dictValue == ('' + value)) {
                        actions.push(datas[key].label);
                        return true;
                    }
                })
                if (actions.length === 0) {
                    actions.push(value);
                }
                return actions.join('');
            },
            // 数字人视频
            detailPersonVideo(id) {
                detailAiVideoMixTask({aiVideoMixTaskId: id}).then(res=> {
                    this.videoDetailForm = res.data
                }) 
            },
            // 数字人详情接口
            getAiPersonDetail(id) {
                detailAiPersonCloneTask({aiPersonCloneTaskId: id}).then(res=> {
                    this.aiPersonForm = res.data
                })
            },
            getDetailCozeDetail(id) {
                detailCozeDetail({aiCozeId: id}).then(res=> {
                    this.taskForm = JSON.parse(JSON.stringify(res.data))
                    if(res.data && res.data.aiType == 14) {
                        this.taskForm.taskResponse = JSON.parse(res.data.taskResponse)
                    }
                })
            },
            // 音色详情
            getDetailAudio(id) {
                detailAudioModel({aiPersonAudioModelId: id}).then(res => {
                    this.taskForm = JSON.parse(JSON.stringify(res.data))
                })
            },
            // 数字人形象
            getDetailAiPersonVideo(id) {
                detailAiPersonVideo({aiPersonVideoModelId: id}).then(res => {
                    this.taskForm = JSON.parse(JSON.stringify(res.data))
                })
            },
            getDetail() {
                detailOrder({oredrNo: this.id}).then(res=> {
                    this.form = res.data
                    if(res.data.useAiType == 1) {
                        this.getAiPersonDetail(res.data.taskId)
                    }else if(res.data.useAiType == 2) {
                        this.detailPersonVideo(res.data.taskId)
                    }else if(res.data.useAiType == 71) {
                        this.getDetailAudio(res.data.taskId)
                    }else if( res.data.useAiType == 70) {
                        this.getDetailAiPersonVideo(res.data.taskId)
                    }else {
                        this.getDetailCozeDetail(res.data.taskId)
                    }
                })
                
                
            },
        }
    }
</script>
<style>
    .content-text{
        width: 280px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .response-desc{
        max-height: 300px;
        overflow-y: scroll;
        background: #fcfbfb;
        border: 1px solid #f3efef;
        border-radius: 10px;
        padding: 10px;
        line-height: 30px;
        text-align: justify;
        white-space: break-spaces;
    }
    .response-desc .title{
        font-size: 14px;
        text-align: center;
        font-weight: 500;
    }
    .response-desc .content-desc{
        white-space: break-spaces;
    }
    .copy-btn{
        float: right;
        margin-top: 19px;
    }
   
</style>
